package com.sino.operation.peripheral.esc.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.sino.operation.commons.response.CenterResponseEntity;
import com.sino.operation.vo.PublicInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;

/**
 * TOD
 *
 * @author Administrator
 * date 2021/9/13 0013 23:38
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "EscBody")
public class EscBody {
    @JsonProperty("CORE_HEAD")
    @ApiModelProperty(value = "核心头信息",name = "CORE_HEAD")
    private CoreHead coreHead;

    @JsonProperty("PUBLIC_INFO")
    @ApiModelProperty(name = "PUBLIC_INFO",value = "公共信息")
    @Valid
    private PublicInfo publicInfo;

    @JsonProperty("CENTER_DATA")
    @ApiModelProperty(value = "接收数据",name = "CENTER_DATA")
    private Object object;

}
